package com.commander.spring.cloud.controller;

import com.commander.spring.cloud.dao.user.UserEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:
 * <p>
 * Date: 2020-06-05
 * <p>
 * Time: 17:19
 *
 * @author zhangxin
 */
@RequestMapping(path = "/user")
public interface UserController {
	
	@RequestMapping(path = "/id", method = RequestMethod.GET)
	UserEntity getById(@RequestParam("id") String id);
}
